<?php

interface LightJob_IBackend
{
	
	public function configure($mixed);
	public function connect();
	public function clearAllJobs();
	public function hasPendingJobs();
	public function listPendingJobs();
	public function addJob($job);
	public function countPendingJobs();
	public function listJobs();
	public function countJobs();
	public function markJobCompleted($job);
	public function markJobsCompleted($jobs);
	public function cleanJobs();
}
